<?php
// no direct access
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$type   = modLoginYcHelper::getType();
$return = modLoginYcHelper::getReturnURL($params, $type);
$user   = JFactory::getUser();

require JModuleHelper::getLayoutPath('mod_login_yc', $params->get('layout', 'default'));
